﻿<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>社区</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title"/>
    <meta name="msapplication-TileColor" content="#090a0a">
    <link rel="stylesheet" href="__ROOT__/static/home/css/css_style.css">
    <script type="text/javascript" src="__ROOT__/static/plugins/jquery-3.2.1/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="__ROOT__/static/plugins/lazyload/jquery.lazyload.min.js"></script>
</head>
<body class="grayBy">
<div class="search_community_header">
    <a href="{:url('home/Index/index')}"><span class="category_community"><img style="width: 10px;height: 20px;" src="__ROOT__/static/home/css/myorder/images/back.png"/></span></a>
    <span class="search_community">社区</span>
    <i class="search_community_icon"></i>
</div>
<ul class="foot_list">
    {volist name="communityList" id="vo"}
    <li>
        <a href="{:url('home/Topics/TopicDetails', array('id' => $vo.id))}">
            <span class="pic">
                <img style="width: 100%" class="lazy" data-original="__ROOT__{$vo.community_url}" src="__ROOT__/static/plugins/lazyload/grey.gif" alt="暂无图片" />
            </span>
            <p style="font-size: 20px;margin-top: -14px;">
                {if condition="$vo.community_name == ''"}
                    暂无
                {else/}
                    {$vo.community_name}
                {/if}
            </p>
            <p><span>创建时间：</span>{:date("Y-m-d", $vo.create_time)}</p>
            <p><span>主贴：</span>{$vo.topicsCount}</p>
            {if condition="$vo.topicsList == true"}
                <p>{$vo.topicsList.0.title}</p>
            {else /}
                <p>暂无贴子</p>
            {/if}
        </a>
    </li>
    {/volist}
</ul>
<div style="height: 70px;"></div>
<div class="footer_fixed clearfix">
    <span><a href="{:url('home/Index/index')}" class="aon"><i class="home_icon"></i><b>首页</b></a></span>
    <span><a href="{:url('home/Babyhome/index')}"><i class="customer_community_icon"></i><b>专题</b></a></span>
    <span><a href="{:url('home/Parenting/index')}"><i class="store_community_icon"></i><b>育儿</b></a></span>
    <span><a href="{:url('home/Activity/index')}"><i class="carts_community_icon"></i><b>活动</b></a></span>
</div>
</body>
</html>
<script>
    /*图片懒加载*/
    $(function() {
        $("img.lazy").lazyload({effect: "fadeIn"});
    });
</script>